/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Nicolas
 */
public class MessageUtile extends Message {
    
    //Contenu du message
    private String contenu;
    //Estampille du message
    private int estampille;
    //ID du process qui envoit le message
    private int idProcess;

    /*
     * Constructeur
     */
    public MessageUtile(){

    }
    
    /*
     * Constructeur de copie
     */
    public MessageUtile(String _contenu, int _estampille, int _idProcess)
    {
        this.contenu = _contenu;
        this.estampille = _estampille;
        this.idProcess = _idProcess;
    }
    
    /*
     * Getters
     */
    
    
    public String getContenu()
    {
        return this.contenu;
    }
    
    public int getEstampille()
    {
        return this.estampille;
    }
    
    public int getIdProcess()
    {
        return this.idProcess;
    }
}
